-- GENERATED SPELL FOR [Winterfall Ambusher] --


function spell0_14372(pUnit, Event) --@Winterfall Firewater,Self--
pUnit:FullCastSpellOnTarget(17205,pUnit)
pUnit:RegisterEvent('Sorts_14372', 0, 1)
end

function Sorts_14372(pUnit, Event)
local choix_sorts_14372 = math.random(0, 0)
if choix_sorts_14372 == 0 then
pUnit:RegisterEvent('spell0_14372', 1, 1)
end
end

function mob14372_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14372', math.random(1500, 3000), 1)
end

function mob14372_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14372_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14372_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14372, 1, 'mob14372_Action')
RegisterUnitEvent(14372, 2, 'mob14372_Leave')
RegisterUnitEvent(14372, 3, 'mob14372_Kill')
RegisterUnitEvent(14372, 4, 'mob14372_Die')
